package com.letoken.platform.repo.mall.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 作者
 * @since 2023-04-23
 */
@Getter
@Setter
@TableName("admin_mall_issue_config")
@ApiModel(value = "AdminMallIssueConfig对象", description = "")
public class AdminMallIssueConfig extends Model<AdminMallIssueConfig> {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @ApiModelProperty("流通率")
    @TableField("circulation_rate")
    private BigDecimal circulationRate;

    @ApiModelProperty("消费发行 比例")
    @TableField("consumption_rate")
    private BigDecimal consumptionRate;

    @ApiModelProperty("收款发行 比例")
    @TableField("collection_rate")
    private BigDecimal collectionRate;

    @ApiModelProperty("周期")
    @TableField("count_down")
    private Integer countDown;

    @ApiModelProperty("流通计算 比例")
    @TableField("rate")
    private BigDecimal rate;

    @ApiModelProperty("生态建设值 比例")
    @TableField("eco_rate")
    private BigDecimal ecoRate;

    @TableField("create_time")
    private LocalDateTime createTime;


    @Override
    public Serializable pkVal() {
        return this.id;
    }

}
